package com.unittec.drainage.provider.auth.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.unittec.drainage.provider.root.EntityRoot;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 用户部门表
 * @author Jason
 * @date 2019/11/07
 */
@Data
@Accessors(chain = true)
@TableName("sys_user_depart")
@EqualsAndHashCode(callSuper = false)
public class SysUserDepart extends EntityRoot implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 部门id
     */
    private String depId;

    public SysUserDepart() {

    }

    public SysUserDepart(String userId, String departId) {
        this.userId = userId;
        this.depId = departId;
    }

}
